<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<meta name="description" content="Mailbox with some customizations as described in docs" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<%@ include file="/include/person_include.jsp"%>
<div class="main fr">
    <div class="bar"></div>
    <h2 class="h2-my-information"><span class="h2-bar"></span>
        账户明细
    </h2>
    <div class="table-msg">
        <table>
            <tr>
                <td>出入账</td>
                <td>状态</td>
                <td>交易类型</td>
                <td>金额</td>
                <td>时间</td>
            </tr>
            <c:forEach items="${payRecords }" var="record">
	            <tr>
	                <td>
	                <c:if test="${record.userId==userId}">出账</c:if> 
	                <c:if test="${record.toUserId==userId}">入账</c:if> 
	                </td>
	                <td><c:if test="${record.status==1 }">已完成</c:if> 
	                <c:if test="${record.status==0 }">进行中</c:if> 
	                </td>
	                <td>
	                <c:if test="${record.transType.equals('5')}">配送费</c:if> 
	                <c:if test="${record.transType.equals('6')}">提现</c:if> 
	                <c:if test="${record.transType.equals('7')}">提现手续费</c:if> 
	                <c:if test="${record.transType.equals('8')}">银联转账手续费</c:if> 
	                </td>
	                <td>${record.money }</td>
	                <td>${record.addTimeText }</td>
	            </tr>
            </c:forEach>
        </table>
    </div>
</div>
</body>

 
</html>